i1 = new Image;
i1.src = "bas.gif";
size = 85; /*Uko ugenda wongera uyu mubare niko image(animation) yihuta cyane itanga umwanya kuri page web */
n=0;
cur=document.getElementById("img_id");
function anim()
{
	n=100;
	cur=document.getElementById("img_id");
	if(document.getElementById)
		anim_img();
}
function anim_img()
{
	if(document.all)
	{
		n-=5;
		cur.filters.alpha.opacity=n;
	}
	else
	{
		n-=2;
		b=n/100;
		cur.style.setProperty("-moz-opacity", b, "");
	}
	if ( n >= 0 ) tempoAnim = setTimeout("anim_img()",1)
	else anim_it();
}
function anim_it()
{
	size+=10;
	anim_id.height = size;
	if ( ( size <= 490 ) || (( screen.height > 600 ) && ( size <= screen.height -300 )) ) tempoAnim = setTimeout("anim_it()",0)
	else 
	{
		entrer.innerHTML="&nbsp;";
		document.getElementById("frame_id3").style.display="none";		
		document.getElementById("frame_id2").style.display="block";
	}
}